package com.probox.order.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.probox.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hds
 * @date 2021-05-28
 */
@Data
@ApiModel(description="自动收货配置")
public class OrderShipAutoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    //默认主键自增
    @ApiModelProperty(value = "主键ID")
    private Integer autoUid;
    /** 平台ID */
    @Excel(name = "平台ID")
    @ApiModelProperty(value = "平台ID(平台ID)")
    private Long platformUid;

    /** 自动收货时长(天) */
    @Excel(name = "自动收货时长(天)")
    @ApiModelProperty(value = "自动收货时长(天)(自动收货时长(天))")
    private Long autoDate;

    /** 延迟收货时长(天) */
    @Excel(name = "延迟收货时长(天)")
    @ApiModelProperty(value = "延迟收货时长(天)(延迟收货时长(天))")
    private Long delayedDate;

    /** 更新人 */
    @Excel(name = "更新人")
    @ApiModelProperty(value = "更新人(更新人)")
    private Long updateUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间" , width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间(更新时间)")
    private Date updateTime;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    @ApiModelProperty(value = "更新人名称(更新人名称)")
    private String updateName;

}
